package com.ahstu.learning.player;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.ahstu.learning.R;

public class InfoFragment extends Fragment {

	@Override
		public View onCreateView(LayoutInflater inflater, ViewGroup container,
								 Bundle savedInstanceState) {
			
			
			return View.inflate(getActivity(), R.layout.infofragment, null);
		}

	@Override
	public void onViewCreated(View view, Bundle savedInstanceState) {
		TextView course_info = (TextView) getActivity().findViewById(R.id.course_info);
		course_info.setText(getActivity().getIntent().getStringExtra("course_info"));
	}
}
